package com.hp.service;

import com.hp.dao.RoomDao;
import com.hp.entity.Room;
import com.hp.entity.dto.RoomDto;

public class RoomService {
    private RoomDao roomDao=new RoomDao();
    public RoomDto getRoom(String sign, String departmentId, String userId){
        return roomDao.getRoom(sign,departmentId,userId);
    }

    public Room getRoom(Integer roomId) {
        return roomDao.getRoom(roomId);
    }
}
